package com.foldingleaf.record.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.foldingleaf.common.annotation.Excel;
import com.foldingleaf.common.core.domain.BaseEntity;

/**
 * 藏品订单记录对象 sys_collection_order_record
 * 
 * @author ajian
 * @date 2022-06-04
 */
public class SysCollectionOrderRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 藏品订单记录id */
    private Long collectionOrderRecordId;

    /** 藏品订单id */
    @Excel(name = "藏品订单id")
    private Long collectionOrderId;

    /** 藏品订单编号 */
    @Excel(name = "藏品订单编号")
    private String collectionOrderNo;

    /** 藏品id */
    @Excel(name = "藏品id")
    private Long collectionId;

    /** 订单价格 */
    @Excel(name = "订单价格")
    private BigDecimal orderPrice;

    /** 藏品链上id */
    @Excel(name = "藏品链上id")
    private String collectionHashId;

    /** 藏品名称 */
    @Excel(name = "藏品名称")
    private String collectionName;

    /** 藏品价格 */
    @Excel(name = "藏品价格")
    private BigDecimal collectionPrice;

    /** 藏品图片地址 */
    @Excel(name = "藏品图片地址")
    private String collectionUrl;

    /** 藏品作者 */
    @Excel(name = "藏品作者")
    private String collectionAuthorId;

    /** 藏品描述 */
    @Excel(name = "藏品描述")
    private String collectionDesc;

    /** 订单完成时间 */
    @Excel(name = "订单完成时间")
    private Long finishTime;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 原用户id */
    @Excel(name = "原用户id")
    private Long oldUserId;

    /** 用户链上id */
    @Excel(name = "用户链上id")
    private String userHashId;

    /** 原用户链上id */
    @Excel(name = "原用户链上id")
    private String oldUserHashId;

    /** 藏品订单hashid */
    @Excel(name = "藏品订单hashid")
    private String collectionOrderNoHashId;

    public void setCollectionOrderRecordId(Long collectionOrderRecordId) 
    {
        this.collectionOrderRecordId = collectionOrderRecordId;
    }

    public Long getCollectionOrderRecordId() 
    {
        return collectionOrderRecordId;
    }
    public void setCollectionOrderId(Long collectionOrderId) 
    {
        this.collectionOrderId = collectionOrderId;
    }

    public Long getCollectionOrderId() 
    {
        return collectionOrderId;
    }
    public void setCollectionOrderNo(String collectionOrderNo) 
    {
        this.collectionOrderNo = collectionOrderNo;
    }

    public String getCollectionOrderNo() 
    {
        return collectionOrderNo;
    }
    public void setCollectionId(Long collectionId) 
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId() 
    {
        return collectionId;
    }
    public void setOrderPrice(BigDecimal orderPrice) 
    {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getOrderPrice() 
    {
        return orderPrice;
    }
    public void setCollectionHashId(String collectionHashId) 
    {
        this.collectionHashId = collectionHashId;
    }

    public String getCollectionHashId() 
    {
        return collectionHashId;
    }
    public void setCollectionName(String collectionName) 
    {
        this.collectionName = collectionName;
    }

    public String getCollectionName() 
    {
        return collectionName;
    }
    public void setCollectionPrice(BigDecimal collectionPrice) 
    {
        this.collectionPrice = collectionPrice;
    }

    public BigDecimal getCollectionPrice() 
    {
        return collectionPrice;
    }
    public void setCollectionUrl(String collectionUrl) 
    {
        this.collectionUrl = collectionUrl;
    }

    public String getCollectionUrl() 
    {
        return collectionUrl;
    }
    public void setCollectionAuthorId(String collectionAuthorId) 
    {
        this.collectionAuthorId = collectionAuthorId;
    }

    public String getCollectionAuthorId() 
    {
        return collectionAuthorId;
    }
    public void setCollectionDesc(String collectionDesc) 
    {
        this.collectionDesc = collectionDesc;
    }

    public String getCollectionDesc() 
    {
        return collectionDesc;
    }
    public void setFinishTime(Long finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Long getFinishTime() 
    {
        return finishTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOldUserId(Long oldUserId) 
    {
        this.oldUserId = oldUserId;
    }

    public Long getOldUserId() 
    {
        return oldUserId;
    }
    public void setUserHashId(String userHashId) 
    {
        this.userHashId = userHashId;
    }

    public String getUserHashId() 
    {
        return userHashId;
    }
    public void setOldUserHashId(String oldUserHashId) 
    {
        this.oldUserHashId = oldUserHashId;
    }

    public String getOldUserHashId() 
    {
        return oldUserHashId;
    }
    public void setCollectionOrderNoHashId(String collectionOrderNoHashId) 
    {
        this.collectionOrderNoHashId = collectionOrderNoHashId;
    }

    public String getCollectionOrderNoHashId() 
    {
        return collectionOrderNoHashId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectionOrderRecordId", getCollectionOrderRecordId())
            .append("collectionOrderId", getCollectionOrderId())
            .append("collectionOrderNo", getCollectionOrderNo())
            .append("collectionId", getCollectionId())
            .append("orderPrice", getOrderPrice())
            .append("collectionHashId", getCollectionHashId())
            .append("collectionName", getCollectionName())
            .append("collectionPrice", getCollectionPrice())
            .append("collectionUrl", getCollectionUrl())
            .append("collectionAuthorId", getCollectionAuthorId())
            .append("collectionDesc", getCollectionDesc())
            .append("createTime", getCreateTime())
            .append("finishTime", getFinishTime())
            .append("userId", getUserId())
            .append("oldUserId", getOldUserId())
            .append("userHashId", getUserHashId())
            .append("oldUserHashId", getOldUserHashId())
            .append("collectionOrderNoHashId", getCollectionOrderNoHashId())
            .toString();
    }
}
